	package com.webside.points.model;

import java.util.Date;

import com.webside.points.wechat.DateUtil;

public class UserEntity {
	
	/*
	 * 用户ID
	 */
	private int id;
	/*
	 *openId
	 */
	private String openId;
	/*
	 * 微信ID
	 */
	private String wechatId;
	/*
	 * 专家ID
	 */
	private int expertId;
	/*
	 * 创建时间
	 */
	private Date createTime;
	/*
	 * 省份
	 */
	private String province;
	/*
	 * 头像路径
	 */
	private String headUrl;
	/*
	 * 支付金额
	 */
	private Double payment;
	/*
	 * unionid
	 */
	private String unionId;
	/*
	 * 专家信息
	 */
	private ExpertEntity expertEntity;
	/*
	 * 问题信息
	 */
	private IssueEntity issueEntity;
	/*
	 * 当前页
	 */
	private int curPage;
	/*
	 * 状态
	 */
	private String status;
	/*
	 *排序
	 */
	private String rank;
	/*
	 * 格式化创建时间
	 */
	private String createDateFormat;
	/*
	 * 管理状态
	 */
	private String manageStatus;
	/*
	 * 学习学习数量
	 */
	private int studyNumber;
	
	
	
	public int getStudyNumber() {
		return studyNumber;
	}

	public void setStudyNumber(int studyNumber) {
		this.studyNumber = studyNumber;
	}

	public String getManageStatus() {
		return manageStatus;
	}

	public void setManageStatus(String manageStatus) {
		this.manageStatus = manageStatus;
	}

	public String getCreateDateFormat() {
		return createDateFormat;
	}
	
	public IssueEntity getIssueEntity() {
		return issueEntity;
	}

	public void setIssueEntity(IssueEntity issueEntity) {
		this.issueEntity = issueEntity;
	}

	public void setCreateDateFormat(String createDateFormat) {
		this.createDateFormat = createDateFormat;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public int getCurPage() {
		return curPage;
	}

	public void setCurPage(int curPage) {
		this.curPage = curPage;
	}

	public UserEntity() {
		super();
	}

	public String getUnionId() {
		return unionId;
	}

	public void setUnionId(String unionId) {
		this.unionId = unionId;
	}

	public Double getPayment() {
		return payment;
	}

	public void setPayment(Double payment) {
		this.payment = payment;
	}

	public ExpertEntity getExpertEntity() {
		return expertEntity;
	}

	public void setExpertEntity(ExpertEntity expertEntity) {
		this.expertEntity = expertEntity;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getHeadUrl() {
		return headUrl;
	}

	public void setHeadUrl(String headUrl) {
		this.headUrl = headUrl;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getWechatId() {
		return wechatId;
	}

	public void setWechatId(String wechatId) {
		this.wechatId = wechatId;
	}

	public int getExpertId() {
		return expertId;
	}

	public void setExpertId(int expertId) {
		this.expertId = expertId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.createDateFormat = DateUtil.dateFormat(createTime);
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", openId=" + openId + ", wechatId=" + wechatId + ", expertId=" + expertId
				+ ", createTime=" + createTime + ", province=" + province + ", headUrl=" + headUrl + ", payment="
				+ payment + ", unionId=" + unionId + ", expertEntity=" + expertEntity + ", issueEntity=" + issueEntity
				+ ", curPage=" + curPage + ", status=" + status + ", rank=" + rank + ", createDateFormat="
				+ createDateFormat + "]";
	}




	





	

	
	
	
}
